import request from '@/utils/request'

export function passengerList(data) {
  return request({
    url: '/passenger/list',
    method: 'post',
    data
  })
}

export function passengerAdd(data) {
    return request({
        url: '/passenger/add',
        method: 'post',
        data
    })
}

export function passengerDelete(data) {
    return request({
        url: '/passenger/delete',
        method: 'post',
        data
     })
}

export function passengerEdit(data) {
    return request({
        url: '/passenger/edit',
        method: 'post',
        data
    })
}

export function passengerSelect(data) {
    return request({
        url: '/passenger/select',
        method: 'post',
        data
    })
}
